package org.pettyfox.pfpay.controller.admin;

import org.pettyfox.pfpay.biz.PayAloneBiz;
import org.pettyfox.pfpay.biz.PayAloneRealPayBiz;
import org.pettyfox.pfpay.entity.PayAlone;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/api/payAlone")
public class PayAloneRest extends AdminTableRest<PayAlone,PayAloneBiz> {

    @Resource
    PayAloneRealPayBiz payAloneRealPayBiz;


    /**
     * 实时的支付信息
     * @return
     */
    @GetMapping("realPayInfo")
    public Object realPayInfo(){

        return payAloneRealPayBiz.realPayInfo();

    }
}
